<template>
    <p>
        <button @click="reset">reset(0)</button>
        <button @click="add" >add(+)</button>
        <button @click="reduce">reduce(-)</button>
    </p>
    
</template>

<script>
import {mapActions} from 'vuex'

export default {
  name: 'ctrl',
  methods: {
      ...mapActions(['reset','add','reduce'])
  }
}

</script>
